<template>
  <div class="check_system_body">
    <div
      class="check_system_centen"
      v-for="(item, index) in teamMemberList"
      :key="index"
      @click="toMemberinformation(item.id)"
    >
      <p class="check_system_centen_p">{{ item.company_name }}</p>
      <p class="check_system_centen_p_1" @v-if="item.status == 2">
        {{ item.status_text }}
      </p>
    </div>
  </div>
</template>
<script>
import { Toast } from "mint-ui";
export default {
  name: "OldTeamMemberList",
  components: {},
  data() {
    return {
      baseAPIUrl: this.$store.state.baseAPIUrl,
      teamMemberList: [], // 公告-教练员
    };
  },
  created: function () {
    this.getAssociationVipList();
  },
  methods: {
    // 获取banner信息
    getAssociationVipList() {
      let url = "/mobile/getAssociationVipList";
      this.axios.post(url).then((res) => {
        if (res.code == 0) {
          console.log(res);
          this.teamMemberList = res.list;
        } else {
          Toast({
            message: res.msg,
            duration: 3000,
          });
        }
      });
    },
    // 团体会员详情
    toMemberinformation: function (id) {
      this.$router.push({
        name: "Memberinformation",
        query: {
          id: id,
        },
      });
    },
  },
};
</script>
<style scoped>
.check_system_body {
  width: 100vw;
  /* padding: 0.8rem 0 0; */
  box-sizing: border-box;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.check_system_centen {
  width: 90%;
  padding: 2.5%;
  margin-top: 0.5rem;
  opacity: 1;
  height: 2rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 1);
  box-shadow: 4px 4px 20px 2px rgba(214, 214, 214, 0.25);
}
.check_system_centen_img {
  width: 0.64rem;
  height: 0.64rem;
  opacity: 1;
}
.check_system_centen_p {
  margin-left: 0.2rem;
  font-size: 0.3rem;
  font-weight: 600;
  letter-spacing: 0px;

  color: rgba(0, 0, 0, 1);
}
.check_system_centen_p_1 {
  margin-left: 0.2rem;
  font-size: 0.3rem;
  font-weight: 600;
  letter-spacing: 0px;

  color: rgb(247, 5, 5);
}
</style>
